<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Docs for page memcached-client.php</title>
  <link rel="stylesheet" href="../media/stylesheet.css" />
  <script src="../media/lib/classTree.js"></script>
<link id="webfx-tab-style-sheet" type="text/css" rel="stylesheet" href="../media/lib/tab.webfx.css" />
<script type="text/javascript" src="../media/lib/tabpane.js"></script>
  <script language="javascript" type="text/javascript" src="../media/lib/ua.js"></script>
<script language="javascript" type="text/javascript">
	var imgPlus = new Image();
	var imgMinus = new Image();
	imgPlus.src = "../media/images/plus.gif";
	imgMinus.src = "../media/images/minus.gif";
	
	function showNode(Node){
        switch(navigator.family){
        	case 'nn4':
        		// Nav 4.x code fork...
				var oTable = document.layers["span" + Node];
				var oImg = document.layers["img" + Node];
        		break;
        	case 'ie4':
        		// IE 4/5 code fork...
				var oTable = document.all["span" + Node];
				var oImg = document.all["img" + Node];
        		break;
        	case 'gecko':
        		// Standards Compliant code fork...
				var oTable = document.getElementById("span" + Node);
				var oImg = document.getElementById("img" + Node);
        		break;
        }
		oImg.src = imgMinus.src;
		oTable.style.display = "block";
	}
	
	function hideNode(Node){
        switch(navigator.family){
        	case 'nn4':
        		// Nav 4.x code fork...
				var oTable = document.layers["span" + Node];
				var oImg = document.layers["img" + Node];
        		break;
        	case 'ie4':
        		// IE 4/5 code fork...
				var oTable = document.all["span" + Node];
				var oImg = document.all["img" + Node];
        		break;
        	case 'gecko':
        		// Standards Compliant code fork...
				var oTable = document.getElementById("span" + Node);
				var oImg = document.getElementById("img" + Node);
        		break;
        }
		oImg.src = imgPlus.src;
		oTable.style.display = "none";
	}
	
	function nodeIsVisible(Node){
        switch(navigator.family){
        	case 'nn4':
        		// Nav 4.x code fork...
				var oTable = document.layers["span" + Node];
        		break;
        	case 'ie4':
        		// IE 4/5 code fork...
				var oTable = document.all["span" + Node];
        		break;
        	case 'gecko':
        		// Standards Compliant code fork...
				var oTable = document.getElementById("span" + Node);
        		break;
        }
		return (oTable && oTable.style.display == "block");
	}
	
	function toggleNodeVisibility(Node){
		if (nodeIsVisible(Node)){
			hideNode(Node);
		}else{
			showNode(Node);
		}
	}
</script>
<!-- template designed by Julien Damon based on PHPEdit's generated templates, and tweaked by Greg Beaver -->
<body bgcolor="#ffffff" ><h2>File: /memcached-client.php</h2>
<div class="tab-pane" id="tabPane1">
<script type="text/javascript">
tp1 = new WebFXTabPane( document.getElementById( "tabPane1" ) );
</script>

<div class="tab-page" id="Description">
<h2 class="tab">Description</h2>
<!-- ========== Info from phpDoc block ========= -->
<h5>This is the PHP client for memcached - a distributed memory cache daemon.</h5>
<div class="desc"><p>More information is available at http://www.danga.com/memcached/</p><p>Usage example:</p><p>require_once 'memcached.php';</p><p>$mc = new memcached(array(               'servers' =&gt; array('127.0.0.1:10000',                                  array('192.0.0.1:10010', 2),                                  '127.0.0.1:10020'),               'debug'   =&gt; false,               'compress_threshold' =&gt; 10240,               'persistant' =&gt; true));</p><p>$mc-&gt;add('key', array('some', 'array'));  $mc-&gt;replace('key', 'some random string');  $val = $mc-&gt;get('key');</p></div>
<ul>
		<li><strong>version:</strong> - 0.1.1</li>
		<li><strong>author:</strong> - Ryan T. Dean &lt;<a href="mailto:rtdean@cytherianage.net">mailto:rtdean@cytherianage.net</a>&gt;</li>
	</ul>
<!-- =========== Used Classes =========== -->
<A NAME='classes_summary'><!-- --></A>
<h3>Classes defined in this file</h3>

<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
	<THEAD>
		<TR><TD STYLE="width:20%"><h4>CLASS NAME</h4></TD><TD STYLE="width: 80%"><h4>DESCRIPTION</h4></TD></TR>
	</THEAD>
	<TBODY>
				<TR BGCOLOR='white' CLASS='TableRowColor'>
			<TD><a href="../memcached-client/memcached.html">memcached</a></TD>
			<TD>memcached client class implemented using (p)fsockopen()</TD>
		</TR>
			</TBODY>
</TABLE>
</div>
<script type="text/javascript">tp1.addTabPage( document.getElementById( "Description" ) );</script>
<div class="tab-page" id="tabPage1">
<!-- ============ Includes DETAIL =========== -->

<h2 class="tab">Include/Require Statements</h2>
<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage1" ) );</script>


</div>
<div class="tab-page" id="tabPage2">
<!-- ============ GLOBAL DETAIL =========== -->

<h2 class="tab">Global Variables</h2>

<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage2" ) );</script>

</div>
<div class="tab-page" id="tabPage3">
<!-- ============ CONSTANT DETAIL =========== -->

<A NAME='constant_detail'></A>
<h2 class="tab">Constants</h2>

<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage3" ) );</script>

<a name="defineCOMPRESSION_SAVINGS"><!-- --></a>
<div style="background='#eeeeee'">
<h4>
  <img src="../media/images/Constant.gif" border="0" /> <strong class="property">COMPRESSION_SAVINGS</strong> (line <span class="linenumber">85</span>)
 </h4> 
<h4>COMPRESSION_SAVINGS : 0.20</h4>
<!-- ========== Info from phpDoc block ========= -->
<h5>Minimum savings to store data compressed</h5>
<ul>
	</ul>
</div>
<a name="defineMEMCACHE_COMPRESSED"><!-- --></a>
<div style="background='#ffffff'">
<h4>
  <img src="../media/images/Constant.gif" border="0" /> <strong class="property">MEMCACHE_COMPRESSED</strong> (line <span class="linenumber">78</span>)
 </h4> 
<h4>MEMCACHE_COMPRESSED : 1&lt;&lt;1</h4>
<!-- ========== Info from phpDoc block ========= -->
<h5>Flag: indicates data is compressed</h5>
<ul>
	</ul>
</div>
<a name="defineMEMCACHE_SERIALIZED"><!-- --></a>
<div style="background='#eeeeee'">
<h4>
  <img src="../media/images/Constant.gif" border="0" /> <strong class="property">MEMCACHE_SERIALIZED</strong> (line <span class="linenumber">73</span>)
 </h4> 
<h4>MEMCACHE_SERIALIZED : 1&lt;&lt;0</h4>
<!-- ========== Info from phpDoc block ========= -->
<h5>Flag: indicates data is serialized</h5>
<ul>
	</ul>
</div>
</div>
<div class="tab-page" id="tabPage4">
<!-- ============ FUNCTION DETAIL =========== -->

<h2 class="tab">Functions</h2>

<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage4" ) );</script>

</div>
</div>
<script type="text/javascript">
//<![CDATA[

setupAllTabs();

//]]>
</script>
	<div id="credit">
		<hr />
		Documentation generated on Wed,  8 Oct 2003 14:26:57 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.2</a>
	</div>
</body>
</html>